<div class="map-container" ng-controller="RfidCtrl">
  
  <div class="left-nav">
    <div class="selector-wrapper wide" >
      <div class="selector-header">
        <div class="main-type pull-left">
          <input type="text" placeholder="请输入ID编号" ng-model="searchId">
        </div>
        <div class="pull-right">
          <button class="btn btn-toggle" ng-click="toggleSelector()">
            <img src="../img/fold.png" ng-show="!isSelectorFold">
            <img src="../img/unfold.png" ng-show="isSelectorFold">
          </button>
        </div>
      </div>
      <div class="selector-content" ng-class="{'fold': isSelectorFold}">
        <div class="option-block info-table">
          <div class="table-list">
            <div class="table-header">
              <div class="col-md-3">ID编号</div>
              <div class="col-md-5">时间</div>
              <div class="col-md-4">地点</div>
            </div>
            <div class="table-line" ng-repeat="(index, data) in originData | filter: searchId | orderBy: '-upload_time' | limitTo: 10 * tparam.now | limitTo: 10 * tparam.now > tparam.total ? 10 * (tparam.now - 1) - tparam.total : - 10">
              <div class="col-md-3"><a href="" ng-click="showTrack(data.card_id)">{{data.card_id}}</a></div>
              <div class="col-md-5">{{data.upload_time | date: 'yyyy-MM-dd HH:mm:ss'}}</div>
              <div class="col-md-4">{{data.lng | limitTo: 6}}, {{data.lat | limitTo: 6}}</div>
            </div>
          </div>
          <div class="table-pagination">
            <div class="table-limit pull-left">共{{tparam.total}}条记录</div>
            <div class="table-page pull-right">
              <div class="btn pagination-num pagination-left" ng-click="goPage('pre')" ng-disabled="tparam.now == 1">
                <img src="../img/left.png">
              </div>
              <div class="btn pagination-num" ng-repeat="index in tparam.pages" ng-class="{'active': index == tparam.now}" ng-click="goPage(index)">
                {{index}}
              </div>
              <div class="btn pagination-num pagination-right" ng-click="goPage('next')" ng-disabled="tparam.now == tparam.max">
                <img src="../img/right.png">
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>


</div><!-- end map-container -->